package com.tbit.uqbike.webmanager.business.maintain_performance.object;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.tbit.uqbike.webmanager.business.maintain_performance.constant.RuleLogic;
import lombok.Data;
import lombok.experimental.FieldNameConstants;

/**
 * 绩效规则条件表
 * performance_rule_condition
 */
@Data
@FieldNameConstants
@TableName("performance_rule_condition")
public class PerformanceRuleCondition {
    /**
     * 主键
     */
    @TableId(type = IdType.AUTO)
    private Long conditionId;

    /**
     * 所属规则id
     */
    private Long ruleId;

    /**
     * 键
     */
    @TableField("`key`")
    private String key;

    /**
     * 逻辑
     */
    private RuleLogic logic;

    /**
     * 值
     */
    private String value;
}